<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:rg="http://www.ruijie.com.cn/faces/ui"
	xmlns:c="http://java.sun.com/jstl/core"
	template="/layout/contentLayout.xhtml">
	<ui:param name="param_pageTitle" value="#{messages.luyuan_member_info}" />
	<ui:param name="param_selectedMenuName" value="memberInfo" />
	<ui:param name="param_navigationUrl"
		value="/luyuan/member/navigationMember.jsf" />

	<ui:define name="content">

		<ui:decorate template="/components/titlePanel.xhtml">
			<ui:param name="id" value="baseInfo" />
			<ui:param name="param_headerTitle" value="基本信息" />
			<ui:param name="param_needButton" value="true" />
			<ui:define name="panelBody">
				<rg:fieldSet column="double">
					<rg:outputText id="name"
						value="#{memberAction.memberModel.name}"
						label="#{messages.luyuan_member_name}" />
					<rg:outputText id="email" value="#{memberAction.memberModel.email}"
						label="#{messages.luyuan_member_email}" />
					<rg:outputText id="addresses"
						value="#{memberAction.memberModel.addresses}"
						label="#{messages.luyuan_member_addresses}" />
					<rg:outputText id="mobile"
						value="#{memberAction.memberModel.mobile}"
						label="#{messages.luyuan_member_mobile}" />
					<rg:outputText id="postCode"
						value="#{memberAction.memberModel.postCode}"
						label="#{messages.luyuan_member_postCode}" />
					<rg:outputText id="height"
						value="#{memberAction.memberModel.height}"
						label="#{messages.luyuan_member_height}" />
					<rg:outputText id="memNumber"
						value="#{memberAction.memberModel.memNumber}"
						label="#{messages.luyuan_member_memNumber}" />
					<rg:outputText id="age" value="#{memberAction.memberModel.age}"
						label="#{messages.luyuan_member_age}" />
				</rg:fieldSet>
			</ui:define>
		</ui:decorate>
		<ui:decorate template="/components/titlePanel.xhtml">
			<ui:param name="id" value="useRecord" />
			<ui:param name="param_headerTitle" value="积分等级" />
			<ui:param name="param_needButton" value="true" />
			<ui:define name="panelBody">
			<c:set var="entity" value="#{memberAction.getMemberIntegral()}" />
				<rg:fieldSet>
					<rg:outputText id="name"
						value="#{entity.currentIntegral}" label="可用积分" />
					<rg:outputText id="email" value="#{entity.totalIntegral}"
						label="累计积分" />
					<rg:outputText id="name"
						value="#{entity.discount}" label="享受折扣" />
					<rg:outputText id="name"
						value="#{entity.memberLevel}" label="会员等级" />
				</rg:fieldSet>
			</ui:define>
		</ui:decorate>
	</ui:define>
</ui:composition>
